package com.antdesignbackend.backend.edition.entity;

import java.io.Serializable;
import java.util.Date;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonFormat;
import org.springframework.format.annotation.DateTimeFormat;
import lombok.Data;

/**
 * 版本升级
 *
 * @author 林宇杰
 * @email edition
 * @date 2020-10-12 14:17:52
 */

@Data
@TableName(value = "t_edition")
public class Edition implements Serializable {
	private static final long serialVersionUID = 1L;

	@TableId(value = "Id",type = IdType.AUTO)
	private Integer id;

	//版本号
	@TableField(value = "EditionNo")
	private Integer editionNo;
	//版本名称
	@TableField(value = "EditionName")
	private String editionName;
	//升级内容
	@TableField(value = "UpgradeContent")
	private String upgradeContent;
	//升级时间
	@TableField(value = "UpgradeTime")
	@DateTimeFormat(pattern="yyyy-MM-dd")
	@JsonFormat(pattern = "yyyy-MM-dd")
	private String upgradeTime;
	//是否强制升级0不强制1强制
	@TableField(value = "ForceUpgrade")
	private Integer forceUpgrade;
	//升级内容
	@TableField(value = "AppDownUrl")
	private String appDownUrl;

}
